home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 29
/
Volume 29 - JOGO DISK .iso
/
Games
/
jet_pac_stan.swf
/
scripts
/
frame_61
/
DoAction.as
Wrap
Text File
|
2006-11-13
|
1KB
|
68 lines
function reset()
{
status = "play";
player.gotoAndStop("playerMiddle");
bossManCount = 0;
hitReady = 0;
hitDelay = 5;
doorOpen = false;
KeyGot = false;
scenery.rock.door.gotoAndStop(1);
nextLevel.gotoAndStop(1);
_root.MouseDown = false;
player._x = xStart;
player._y = yStart;
player._xscale = xScStart;
player._yscale = yScStart;
player._alpha = alpStart;
cage._visible = false;
gravInert = 0;
fallAmm = 0;
HorizAmm = 0;
Hinert = 0;
thrustPower = 0.8;
gravity = 0.4;
bounceCount = 0;
outOfFuel = false;
bounceY = 99;
ready.gotoAndPlay(2);
}
function doFuel()
{
fuelfNum = int(fuel);
fuelDisp.gotoAndStop(fuelfNum);
if(fuel < 0)
{
outOfFuel = true;
}
}
scenery.rock.gotoAndPlay(1);
direction = "in";
playerFacing = "left";
shitCount - 9;
smLev = 0;
fuel = 100;
MovH = 400;
MovW = 400;
score = 0;
level = 1;
levelDisplay = level;
speedLimit = 6;
fuelDisp.gotoAndStop(100);
beyonce.gotoAndStop("off");
circle.startDrag(true);
xStart = player._x;
yStart = player._y;
xScStart = player._xscale;
yScStart = player._yscale;
alpStart = player._alpha;
gotBeyonce = false;
_root.gameover = false;
bossManActive = false;
scenery.rock.key.gotoAndStop(1);
scenery.rock.kkey.gotoAndStop(1);
scenery.rock.kkkey.gotoAndStop(1);
KeyGot = false;
reset();
_root.demo != 1 ? practiceMC.gotoAndStop(1) : practiceMC.gotoAndStop(2);